import 'package:event_bus/event_bus.dart';

EventBus eventBus = EventBus();

class UpdateRootIndexEvent {
  int? idx;
  UpdateRootIndexEvent(this.idx);
}


class UpdateMemberInfo {}
class UpdateTemplateInfo {}

class UpdateExpertSerivce {}
class UpdateExpertMessage {}
class UpdateExpertProject {
  int? idx;
  UpdateExpertProject(this.idx);
}

class ToEditAccountEvent {}

///收到消息
class OnMsgUpdate {
  Map<String, dynamic>? map;
  OnMsgUpdate(this.map);
}

///客戶端更新訂單
class UpdateClientOrderEvent {
  int? idx;
  UpdateClientOrderEvent(this.idx);
}

///客戶端更新讯息
class UpdateClientMessageEvent {
  int? idx;
  UpdateClientMessageEvent(this.idx);
}


///跳客戶端讯息tab對話頁面
class ToMsgTabEvent {
}

///跳客戶端訂單Tab頁面
class ToOrderEvent {

}

///更新客戶端讯息對話列表
class UpdateClientMsgListEvent {
  bool? needLoading;
  UpdateClientMsgListEvent({this.needLoading});
}

///更新客戶端賬戶頁面
class UpdateClientAccountEvent {
}

///更新客戶端訂單頁面
class UpdateOrderListEvent {
}

///更新未讀消息
class UpdateMsgReadEvent {
}




